GetVirtualUserID

Note: This statement is only used in load test scripts. See Load Testing for more information.

Returns the integer ID of the current virtual user.

Syntax

GetVirtualUserID()

Return value

Value Description
Value Integer ID of the current virtual user.

Example

' Make unique username for each virtual user

userName = "user" + GetVirtualUserID()

WebPost("www.wysicorp.com/login.php", "name", userName)